<template>
    <view>
        <view class="p-20 bold xl">
            功能列表
        </view>
        <u-cell-group>
            <u-cell-item title="维修列表" @click="goPages('maintain')"></u-cell-item>
            <u-cell-item title="品控管理" @click="goPages('control')"></u-cell-item>
        </u-cell-group>
    </view>
</template>

<script setup>
    const goPages = (params) => {
        let url = ''
        if (params == 'maintain') {
            url = '/pages/setting/maintain/maintain'
        } else if (params == 'control') {
            url = '/pages/setting/control/control'
        }
        uni.navigateTo({
            url: url
        })
    }
</script>

<style>

</style>